﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Foot
{
    /// <summary>
    /// Foot_Manage
    /// </summary>
    [Table("Foot_Manage")]
    public class Foot_Manage
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String id { get; set; }

        /// <summary>
        /// CreatorId
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Deleted
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 栏目名称
        /// </summary>
        public String Names { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public String Parent_Id { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public String FontContent { get; set; }

        /// <summary>
        /// DATA0
        /// </summary>
        public String URL { get; set; }

        /// <summary>
        /// DATA1
        /// </summary>
        public String DATA1 { get; set; }

        /// <summary>
        /// DATA2
        /// </summary>
        public String DATA2 { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public Int32 Sort { get; set; }

        /// <summary>
        /// DATA2
        /// </summary>
        [NotMapped]
        public String name { get; set; }
        [NotMapped]
        public List<Foot_Manage> children { get; set; } = new List<Foot_Manage>();

    }
}